<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%
    String basePath = request.getContextPath();
    request.setAttribute("basePath", basePath);
%>
<head>
    <%@include file="../../common/Include_input_head.jsp" %>

    <title>站点管理</title>
    <script type="text/javascript" src="${basePath}/resources/theme/js/Zzd.js"></script>
    <script type="text/javascript">
        detailPageStyle();
        var msg=true;
    </script>
</head>

<body style="text-align:center;">
<div id="scrollContent">
<div class="box1">
    <s:form name="theform" method="post" theme="simple" enctype="multipart/form-data">
        <s:hidden name="xxfbSite.wid" id="wid"/>
        <s:hidden name="xxfbSite.cjsj">
            <s:param name="value">
                <s:date name="xxfbSite.cjsj" format="yyyy-MM-dd HH:mm:ss"/>
            </s:param>
        </s:hidden>
        <%--<s:hidden name="xxfbZwzmb.xgsj"/>--%>
        <%--<s:hidden name="xxfbZwzmb.mbnr"/>--%>
        <fieldset>
            　
            <legend>站点信息</legend>
            <table width="100%" border="0" align="center">
                <tr>
                    <td width="15%" align="right">&nbsp;站点名称：</td>
                    <td width="35%" align="left" nowrap="nowrap">
                        <s:textfield name="xxfbSite.zdmc" id="sitename" maxlength="20" size="20"
                                     title="请输入3~10个汉字"/> <label style="color:red">*</label>
                        <span id="msgsitename" style="color:red"></span>
                    </td>
                    <td width="15%" align="right">&nbsp;站点编码：</td>
                    <td width="35%" align="left" nowrap="nowrap" colspan="3">
                        <s:textfield name="xxfbSite.zdbm" id="sitebm" maxlength="20" size="20"
                                     title="3~10个英文字符，不填会自动生成。"/>
                        <label style="color:red"></label>
                    </td>
                </tr>
                <tr>
                    <td align="right">&nbsp;站点状态：</td>
                    <td align="left">
                        <s:select name="xxfbSite.state" list="getSysCode('qyyf')" listKey="id" listValue="caption"
                                  value="xxfbSite==null?'1':xxfbSite.state"/> <label style="color:red">*</label>
                    </td>

                </tr>

                <tr>
                    <td width="15%" align="right">&nbsp;站点排序：</td>
                    <td width="35%" align="left" nowrap="nowrap" colspan="3">
                        <s:textfield name ="xxfbSite.ordernum" title="数值越大站点越靠前。"></s:textfield>
                    </td>
                </tr>
            </table>
        </fieldset>
    </s:form>
</div>
</div>
<div class="padding_top10">
    <table class="tableStyle" transMode="true">
        <tr>
            <td colspan="4">
                <input type="button" id="ysSaveButton" value=" 保 存 " onclick="doSave()"/>
                <%--<input type="button" value=" 关 闭 " onclick="parent.closeEntityWindow()"/>--%>
                <s:if test="actionErrors.size()>0 || actionMessages.size()>0 || fieldErrors.size()>0">
						<span id="SystemErrorMessage" style="top: 20px">
							<s:actionerror cssStyle="color:red"/>
							<s:actionmessage cssStyle="color:blue"/>
							<s:fielderror/>
						</span>
                </s:if>
            </td>
        </tr>
    </table>
</div>
</body>
</html>

